#ifndef TYPES_H
#define TYPES_H

#define true	1
#define false	0
#define NULL	0

typedef unsigned char 	     u_char;
typedef unsigned int 	     u_int;
typedef unsigned int 	     u_int32;
typedef unsigned short       u_int16;
typedef signed char          int8_t;
typedef unsigned char        uint8_t;
typedef short                int16_t;
typedef unsigned short       uint16_t;
typedef int                  int32_t;
typedef unsigned             uint32_t;
typedef long long            int64_t;
typedef unsigned long long   uint64_t;
typedef unsigned char        byte;
typedef unsigned short int   word;
typedef unsigned int         dword;
typedef unsigned long long   qword;
typedef unsigned 	     	 size_t;

typedef struct
{
	unsigned edi, esi, ebp, esp, ebx, edx, ecx, eax;
	unsigned ds, es, fs, gs;
	unsigned which_int, err_code;
	unsigned eip, cs, eflags, user_esp, user_ss;
} __attribute__((packed)) regs_t;

#endif
